1 REM********************************** * * 2 REM* THIS PROGRAM WAS ORIGINALLY * * CREATED BY MARKB17 - LOCATED * 3 REM* IN GAMES UTILITIES-STUFF AND * * NONSENSE. * 4 REM* I HAVE ADDED THE ABILITY TO * * CREATE YOU OWN HAIKU - YOU CAN * 5 REM* ALSO PRINT A COPY OF POEM. * * * 6 REM* LEARN AND HAVE FUN * * DONN WALTER * 7 REM* * ********************************** 110 POKE 53281,1 120 FORX=0TO9:READF$(X):NEXT:FORX=0TO7:READS$(X):NEXTX 130 FORX=1TO7:READT$(X):NEXTX 140 PRINT"[147]":PRINTTAB(17)"[149] HAIKU [146]":PRINT 142 PRINTTAB(17)"[145][145][145] [146]" 144 PRINTTAB(17)" [146]" 150 PRINT:PRINT"HELLO HONOURABLE USER.":PRINT 160 PRINT"I AM A JAPANESE HAIKU PROGRAM.":PRINT 170 PRINT"PRESS ANY KEY AND I WILL BE PLEASED TO WRITE A POEM FOR YOU." 180 PRINT:PRINT"HAIKU IS A MOST VENERABLE FORM OF POETRYAND IT IS AN HONOUR"; 190 PRINT" TO WRITE FOR YOU." 192 PRINT"IF YOU WOULD RATHER CREATE YOUR OWN," 194 PRINT"PLEASE BE HONOURED TO PRESS FUNCTION #1" 200 PRINT:PRINT"  PRESS ANY KEY TO BEGIN [146]" 210 GETQ$:IFQ$=""THEN210 212 IF Q$="[133]" THEN 400 220 A=INT(RND(8)*10):B=INT(RND(8)*8):C=INT(RND(6)*8) 230 PRINT"[147]" 240 PRINTTAB(20-LEN(F$(A))/2);F$(A) 250 PRINTTAB(20-LEN(S$(B))/2);S$(B) 260 PRINTTAB(20-LEN(T$(C))/2);T$(C) 270 PRINT:PRINT:PRINT:PRINT" HIT [146] TO RECEIVE A NEW POEM." 272 PRINT" PRESS [146] TO WRITE YOUR OWN 275 [153]" PRESS WAIT TO QUIT... 280 GETQ$:IFQ$=""THEN280 285 IF Q$<>" "AND Q$<>"Q"ANDQ$<>"[133]"THEN280 290 IF Q$=" "THEN220 292 IF Q$="[133]"THEN 400 295 IF Q$="Q"THEN 600 300 DATA THE GRAY MOUNTAINS HOST,TODAY I SAW THE,SPLASHES IN THE POND 310 DATA NOW CHERRY BLOSSOMS,DROPPING FROM BRANCHES,FRESHLY DRAWN CHALK LINES 320 DATA WINTER HILLSIDES HOST,NOW PLAYING CHILDREN,A MOONLIT QUIET 330 DATA A GARDEN CHANGES,MOMENTARY SIGHTS OF,SQUIRREL GATHERING ACORNS 340 DATA DISTURB THE REFLECTION OF,SWIRL IN THE TWILIGHT COOLNESS 350 DATA BRIGHT LEAVES PROVIDE A COVER,REFLECT IMAGINATION 360 DATA THE LAUGHTER AND SNOWY PLAY,CATCH RAYS OF BROKEN MOONLIGHT 370 DATA THE SUMMER LIGHTNING,WINTER IS COMING,A MOONLIT QUIET 380 DATA FUEL FOR CHILDREN'S PLAY,OF SUMMER CHILDREN,OF BUNDLED UP YOUTH 390 DATA SPLASHES IN THE POND 400 PRINT"[147]" 410 PRINT" THE HAIKU IS CONSTRUCTED OF THREE" 415 PRINT" [163][163][163][163][163]" 420 PRINT" LINES OF FIVE, SEVEN, AND FIVE" 425 PRINT" SYLLABLES." 430 PRINT" I WILL ASK YOU TO TYPE EACH OF" 435 PRINT" THREE LINES WITH THE CORRECT SYLLABLES" 440 PRINT" INDIVIDUALLY. AFTER ALL THREE" 450 PRINT" LINES ARE ENTERED WE WILL SEE YOUR" 460 PRINT" CREATION! 465 [153]" TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(" 470 [153]" PRESS WAIT FOR INSTRUCTIONS" 475 [161] A$:[139]A$[178]""[167]475 477 [139] A$[179][177]" "[167]475 480 [153]"LOADHAIKU USUALLY CONSISTS OF SEASONAL" 485 [153]"CHANGES AND MOODS, BUT TYPE IN ANY" 490 [153]"SUBJECT YOU WOULD LIKE." 495 [153]"ENTER A FIVE SYLLABLE PHRASE THEN PRESS WAIT." 498 [153]"PRINT#(P.S. PLEASE LEAVE OUT ANY PUNCTUATION.)" 500 [133]"ONONONONONONONONONONONONONCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMD";A$ 510 [153]"LOADENTER A SEVEN SYLLABLE PHRASE" 515 [153]"TO GO ALONG WITH THE FIRST." 517 [153]"" 518 [153][163]20[171][195](A$)[173]2);A$ 520 [133]"ONONONONONONONONONONONONONON";B$ 525 [153]"LOADENTER A FIVE SYLLABLE PHRASE" 530 [153]"TO MATCH UP WITH THE OTHER TWO" 535 [153]"SUBJECT WISE." 537 [153]"" 538 [153][163]20[171][195](A$)[173]2);A$ 539 [153][163]20[171][195](B$)[173]2);B$ 540 [133]"ONONONONONONONONONONONONONON";C$ 550 [153]"LOAD" 560 [153][163]20[171][195](A$)[173]2);A$ 570 [153][163]20[171][195](B$)[173]2);B$ 580 [153][163]20[171][195](C$)[173]2);C$ 590 [137]270 600 [153]"LOADWOULD YOU LIKE TO PRINT A COPY OF" 610 [153]"YOUR OWN PERSONAL HAIKU? (Y/N)WAIT" 615 [153]" TAB(TAB(TAB(TAB(TAB(" 617 [153]"LIST (THIS WILL ONLY PRINT YOUR CREATION!)" 619 [153]" TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(TAB(" 620 [161] Q$:[139]Q$[178]""[167]620 625 [139] Q$[179][177]"Y"[175]Q$[179][177]"N"[167]620 630 [139] Q$[178]"N"[167][153]"LOADSIANARA HONOURABLE GUEST...":[128] 632 [139] A$[178]""[167] Q$[178]"N":[137]630 635 [159]4,4 637 [152]4,[199](14) 638 [152]4,"HAIKU" 639 [152]4,"TAB(TAB(TAB(TAB(TAB(" 640 [152]4,A$ 650 [152]4,B$ 660 [152]4,C$ 665 [152]4,[199](15) 670 [152]4 672 [160]4 675 [153]"LOADSIANARA HONOURABLE FRIEND...":[128] 680 [143] *************************** * * 681 [143] * SEE LISTING FROM 1 TO 7 * * FOR CREDITS * 682 [143] * * ***************************